﻿using DAL;
using Model;
using System.Collections.Generic;

namespace BLL.BatchBLL
{
    public class unCrteBatchBLL
    {
        private BatchRepository batchRepository = new BatchRepository();

        // 查询所有批次
        public List<Batch> GetAllBatches()
        {
            return batchRepository.GetAllBatches();
        }

        //删除批次
        public int DeleteBatch(int batchId)
        {
            return batchRepository.DeleteBatch(batchId);
        }
    }
}